import Layout from '@/layout'

export default {
  path: '/product',
  component: Layout,
  redirect: '/product/list',
  name: 'Product',
  meta: { title: '商品管理', icon: 'shopping' },
  children: [
    {
      path: 'list',
      name: 'ProductList',
      component: () => import('@/views/product/list'),
      meta: { title: '商品列表' }
    },
    {
      path: 'category',
      name: 'Category',
      component: () => import('@/views/product/category'),
      meta: { title: '商品分类' }
    },
    {
      path: 'specification',
      name: 'Specification',
      component: () => import('@/views/product/specification'),
      meta: { title: '商品规格' }
    }
  ]
} 